package com.itheima.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    //excel表格的表头名称
    @ExcelProperty("ID")
    private Integer id; //ID
    
    @ExcelProperty("姓名")
    private String name; //姓名
    
    @ExcelProperty("性别")
    private String gender; //年龄
    
    @ExcelProperty("手机号")
    private String phone; //手机号
    
    @ExcelProperty("邮箱")
    private String email; //邮箱
    
    @ExcelProperty("生日")
    private LocalDate birthday; //生日
}